{template "content","header"}

<div id="searchbar">
<form action="{APP_PATH}index.php" method="get" target="_blank">
	<input type="hidden" name="m" value="search"/>
	<input type="hidden" name="c" value="index"/>
	<input type="hidden" name="a" value="init"/>
	<input type="hidden" name="typeid" value="{$typeid}" id="typeid"/>
	<input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
	<span>
		<input type="submit" value="" class="search" />
		<a href="index.php?m=member&c=index&a=register&siteid={$siteid}" title="{L('register')}" style="text-decoration:none;">
			<input type="button" value="" class="join" onclick="location.href='index.php?m=member&c=index&a=register&siteid={$siteid}'" />
		</a>
	</span>
	<label class="lessionname">栏目选择：	
	{php $search_model = getcache('search_model_'.$siteid, 'search');}
	{php $type_module = getcache('type_module_'.$siteid, 'search');}
	<select name="typeid" id="typeid">
		{loop $search_model $k=>$v}
		<option value="{$v['typeid']}" {if $v[typeid]==1} selected="selected"{/if}>{$v['name']}</option>
		{/loop}
	</select>
	</label>
	<label class="lessionclass">时间：
		<select name="time" id="timeid">
			<option value="all">全部时间</option>
			<option value="day">一天内</option>
			<option value="week">一周内</option>
			<option value="month">一月内</option>
			<option value="year">一年内</option>
		</select>
	</label>
	<label class="lessionkey">关键字：<input type="text" class="searchtxt" name="q" id="q"/></label>
</form>
</div><!-- css id searchbar end -->

<div id="collection_m">
	<div class="leftside">
		<!--课程安排模块-->
		<div class="Courses">
			<h3>
				<span class="sp_r"></span>
<span class="more">
					<a href="index.php?m=content&c=index&a=lists&catid=122" target="_blank">更多</a>
				</span>

				<span class="sp_l"></span>
				<a href="index.php?m=content&c=index&a=lists&catid=122" class="title">网校新闻</a>
							</h3>
			<div class="newlist">
				{pc:content  action="lists" catid="122" order="id DESC" num="5"}
				<ul>
					{loop $data $v}
					<li><a href="{$v[url]}" title="{$v[title]}" target="_blank" {if $n==1}class="head"{/if}>{str_cut($v[title], 40)}</a></li>
					{/loop}
				</ul>
				{/pc}
				
				{if  module_exists('courses')}
				<span class="lession"><a href="index.php?m=courses&c=index&a=show&siteid={$siteid}">{php $start_date = $end_date = date("Y-m-d", SYS_TIME);}
					课程日期 {$start_date}</a></span>
				
				<div class="today">
                    <div id="demo" style="height:196px; width:198px;overflow:hidden;">
                    <div id="demo1" style="width:100%;">
					{pc:courses  action="lists" startdate="$start_date" enddate="2011-12-31" order="ctime ASC" num="100"}
					{loop $data $v}
                    <p>{date('Y',$v[ctime])}年{date('m',$v[ctime])}月{date('d',$v[ctime])}日&nbsp;&nbsp;<b style="color:#000;">{$v[cnote]}</b></p>
					<p><b style="color:#069">{$v[cname]}&nbsp;{$v[cstime]}&nbsp;[{$v[csname]}]</b></p>
					{/loop}
					{/pc}
                    </div>
                    <div id="demo2"></div>
                    </div>
				</div><!-- css class today end -->
				
				<!--<div class="torm">
					<span></span>
					{php $start_date = $end_date = date("Y-m-d", SYS_TIME + 24*3600);}
					<p>课程日期 {$start_date}</p>
					{pc:courses  action="lists" startdate="$start_date" enddate="$end_date" order="ctime ASC" num="2"}
					{loop $data $v}
					<p><b>{$v[cname]}&nbsp;{$v[cstime]}&nbsp;[{$v[csname]}]</b></p>
					{/loop}
					{/pc}
				</div>--><!-- css class torm end -->
				{/if}
				
			</div><!-- css class newlist end -->
		</div><!-- css class Courses end -->
	</div><!-- css class leftside end -->
	
	<div class="middle">
		<!--新闻和幻灯模块-->
		<div class="news">
			<div class="innerborder">
				<!--幻灯模块-->
				<div class="changeimg" style="height:220px; width:190px;">
					<div id="KinSlideshow" class="smallslider">
						{pc:content  action="lists" catid="51" thumb="1" order="id DESC" num="4"}
						<ul>
						{loop $data $v}
						<li><a href="{$v[url]}" target="_blank" title="{$v[title]}"><img src="{thumb($v[thumb],190,220)}" alt="{str_cut($v[title], 15)}" /></a></li>
						{/loop}
						</ul>
						{/pc}
					</div>
					<div class="clear">&nbsp;</div>
				</div><!-- css class changeimg end -->
				
				<!--新闻和公告模块-->
				<div class="newslist">
					{pc:content  action="lists" catid="123" order="id DESC" num="8"}
					{loop $data $v}
					{if $n==1}<span><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title], 46)}</a></span>{/if}
					{if $n>1}
					{if $n==2}<ul>{/if}
						<li><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title], 50)}</a></li>
					{if $n==8}</ul>{/if}
					{/if}
					{/loop}
					{/pc}
				</div><!-- css class newslist end -->
			</div><!-- css class innerborder end -->
		</div><!-- css class news end -->
		
		<div class="teacher">
			<h3>
				<span class="sp_r"></span>
<span class="sign">
					<a href="index.php?m=member&c=index&a=register&siteid={$siteid}&modelid=11" target="_blank">
						<img src="{IMG_PATH}2zwx/application_plate.gif" title="我要报名" alt="我要报名" />
					</a>
				</span>
				<span class="sp_l"></span>
				<a class="title" href="index.php?m=content&c=index&a=lists&catid=32">网校名师</a>
				
			</h3>
			<!-- 网校名师-->
			<div class="srollbox">
				<a class="turn_r" href="javascript:;" id="moveNextFive"><img src="{IMG_PATH}2zwx/turn_r.gif" title="向右" /></a>
				<a class="turn_l" href="javascript:;" id="movePrevFive"><img src="{IMG_PATH}2zwx/turn_l.gif" title="向左" /></a>
				<div class="scroldiv" id="scrollMarquee">
				<ul class="divbox" id="adminRecommendGoods">
				{pc:content  action="lists" catid="32" thumb="1" order="id DESC" num="15"}
				{loop $data $v}
					<li>
						<a href="index.php?m=content&c=index&a=lists&catid=234&tid={$v[id]}" target="_blank" title="{$v[title]}">
							<img src="{thumb($v[thumb], 100, 75)}" alt="{$v[title]}" />
						</a>
                                                <span class="title"></span>
                                                 <a class="t_name"  href="index.php?m=content&c=index&a=lists&catid=234&tid={$v[id]}" target="_blank" title="{$v[title]}">{str_cut($v[title], 10)}</a>
						<span style="display:none;">
						{str_cut(strip_tags($v[description]), 220)}
						</span>
					</li>
				{/loop}
				{/pc}
				</ul>
				</div><!-- css class scroldiv end -->
				
				<div class="clearfloat"></div>
				<p class="title" id="netteacher_desc">
					{pc:content  action="lists" catid="32" order="id DESC" num="1"}
					{loop $data $v}
						{str_cut(strip_tags($v[description]), 220)}
					{/loop}
					{/pc}
				</p>				
			</div><!-- css class srollbox end -->
		</div><!-- css class teacher end -->
	</div><!-- css class middle end -->
	
	<div class="rightside">	
		<!--00-->
<dl id="down_vip" class="hide">
	<dt><span><img src="{IMG_PATH}2zwx/vip.gif" alt="VIP会员" /></span></dt>
	<dd>
		<h3>
			<span class="sp_r"></span>
			<span class="more">
				<a href="index.php?m=content&c=index&a=lists&catid=28" target="_blank">更多...</a>
			</span>
			<span class="sp_l"></span>
			<a class="title" href="index.php?m=content&c=index&a=lists&catid=28" target="_blank">下载试听</a>
		</h3>
		<div class="mediadl">
			<ul class="kemu">
			{pc:content action="category" catid="28" num="7" siteid="$siteid" order="listorder ASC"}
			{loop $data $r}
				<li {if $n==1}class="selected"{/if} id="title_{$r[catid]}" onmouseover="toggle_show({$r[catid]}, 'title_', 'content_', 'selected', '')">
					<a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				</li>
			{/loop}
			{/pc}
			</ul>
			{pc:content action="category" catid="28" num="7" siteid="$siteid" order="listorder ASC"}
			{php $cdata=$data;$data=array();}
			{php $s=1;}
			{loop $cdata $r}
			<div id="content_{$r[catid]}" {if $s>1}style="display:none;"{/if}>
			{pc:content  action="listdatas" catid="$r[catid]" order="id DESC" num="7" readpoint="1"}
			{php $dnum=count($data);}
			{loop $data $v}
				{if $n==1}<div class="video_dl">{/if}
				{if $n<3}
				<div>
					<a href="{$v[url]}" target="_blank" title="{$v[title]}">
						<img src="{thumb($v[thumb],100,60)}" alt="{$v[title]}" />
					</a>
					<p><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],24,'')}</a></p>
				</div>
				{/if}
				{if $dnum==1}
				</div>
				{elseif $dnum==2 && $n==2}
				</div>
				{elseif $n==3}
				</div>
				<span class="videolistbox">
				<ul class="video_list">
				{/if}
				{if $n>3}
				<li><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],16,'')}</a></li>
				{/if}
				{if $dnum>5 && $n==5}
				</ul>
				<ul class="video_list">
				{/if}
			{/loop}
			{if $dnum>2}</ul></span>{/if}
			{/pc}
			</div>			
			{php $s++;}
			{/loop}
			{/pc}
		</div><!-- css class mediadl end -->
	
		<!--试题下载-->
		<span class="tab">
			<a href="index.php?m=content&c=index&a=lists&catid=25" class="tabon" id="tt_25" onmouseover="toggle_display(25,'26,27')">历届高考</a>
			<a href="index.php?m=content&c=index&a=lists&catid=26" class="taboff" id="tt_26" onmouseover="toggle_display(26,'25,27')">珍藏试题</a>
			<a href="index.php?m=content&c=index&a=lists&catid=27" class="taboff" id="tt_27" onmouseover="toggle_display(27,'25,26')">知识要点</a>
		</span>
		<ul class="dltab" id="ct_25">
			{pc:content  action="listdatas" catid="25" order="id DESC" num="5" readpoint="1"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>
		<ul class="dltab" id="ct_26" style="display:none;">
			{pc:content  action="listdatas" catid="26" order="id DESC" num="5" readpoint="1"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>
		<ul class="dltab" id="ct_27" style="display:none;">
			{pc:content  action="listdatas" catid="27" order="id DESC" num="5" readpoint="1"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>

</dd>
</dl><!-- dl for vip members -->

<dl id="down_common" class="show">
<dt><span>普通会员</span></dt>
<dd><h3>
			<span class="sp_r"></span>
			<span class="more">
				<a href="index.php?m=content&c=index&a=lists&catid=28" target="_blank">更多...</a>
			</span>
			<span class="sp_l"></span>
			<a class="title" href="index.php?m=content&c=index&a=lists&catid=28" target="_blank">下载试听</a>
		</h3>
<div class="mediadl">
			<ul class="kemu">
			{pc:content action="category" catid="28" num="7" siteid="$siteid" order="listorder ASC"}
			{loop $data $r}
				<li {if $n==1}class="selected"{/if} id="ctitle_{$r[catid]}" onmouseover="toggle_show({$r[catid]}, 'ctitle_', 'ccontent_', 'selected', '')">
					<a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				</li>
			{/loop}
			{/pc}
			</ul>
			{pc:content action="category" catid="28" num="7" siteid="$siteid" order="listorder ASC"}
			{php $cdata=$data;$data=array();}
			{php $s=1;}
			{loop $cdata $r}
			<div id="ccontent_{$r[catid]}" {if $s>1}style="display:none;"{/if}>
			{pc:content  action="listdatas" catid="$r[catid]" order="id DESC" num="7" readpoint="0"}
			{php $dnum=count($data);}
			{loop $data $v}
				{if $n==1}<div class="video_dl">{/if}
				{if $n<3}
				<div>
					<a href="{$v[url]}" target="_blank" title="{$v[title]}">
						<img src="{thumb($v[thumb],100,60)}" alt="{$v[title]}" />
					</a>
					<p><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],24,'')}</a></p>
				</div>
				{/if}
				{if $dnum==1}
				</div>
				{elseif $dnum==2 && $n==2}
				</div>
				{elseif $n==3}
				</div>
				<span class="videolistbox">
				<ul class="video_list">
				{/if}
				{if $n>3}
				<li><a href="{$v[url]}" target="_blank" title="{$v[title]}">{str_cut($v[title],16,'')}</a></li>
				{/if}
				{if $dnum>5 && $n==5}
				</ul>
				<ul class="video_list">
				{/if}
			{/loop}
			{if $dnum>2}</ul></span>{/if}
			{/pc}
			</div>			
			{php $s++;}
			{/loop}
			{/pc}
		</div><!-- css class mediadl end -->
	
		<!--试题下载-->
		<span class="tab">
			<a href="index.php?m=content&c=index&a=lists&catid=25" class="tabon" id="ctt_25" onmouseover="toggle_display(25,'26,27','c')">历届高考</a>
			<a href="index.php?m=content&c=index&a=lists&catid=26" class="taboff" id="ctt_26" onmouseover="toggle_display(26,'25,27','c')">珍藏试题</a>
			<a href="index.php?m=content&c=index&a=lists&catid=27" class="taboff" id="ctt_27" onmouseover="toggle_display(27,'25,26','c')">知识要点</a>
		</span>
		<ul class="dltab" id="cct_25">
			{pc:content  action="listdatas" catid="25" order="id DESC" num="5" readpoint="0"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>
		<ul class="dltab" id="cct_26" style="display:none;">
			{pc:content  action="listdatas" catid="26" order="id DESC" num="5" readpoint="0"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>
		<ul class="dltab" id="cct_27" style="display:none;">
			{pc:content  action="listdatas" catid="27" order="id DESC" num="5" readpoint="0"}
			{loop $data $r}
			<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
			{/loop}
			{/pc}
		</ul>

</dd>
</dl><!-- dl for common members -->
</div><!-- css class rightside end -->
	
</div><!-- css id collection_m end -->

<div id="adbar">
	<div class="ad01">
		<script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=11"></script>
	</div>
	<div class="ad02">
		<script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=13"></script>
	</div>
</div><!-- css id adbar end -->

<div id="collection_b">
	<div id="collection_l">
		<div class="boutique">
			<h3>
				<span class="sp_r"></span>
				<span class="title_link">
				{pc:content action="category" catid="10" num="8" siteid="$siteid" order="listorder ASC"}
				{loop $data $r}
					<a class="tabo{if $n==1}n{else}ff{/if}" href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				{/loop}
				{/pc}
				</span>
				<span class="sp_l"></span>
				<span class="title_name">精品课程</span>
			</h3>
			<div class="boutique_con">
				<div class="classroom">
					<span class="title">
						<a class="join" href="index.php?m=member&c=index&a=register&siteid={$siteid}">
							<img src="{IMG_PATH}2zwx/application_plate_g.gif" title="我要报名" />
						</a>
						<a href="index.php?m=content&c=index&a=lists&catid=17" target="_blank">课堂试题</a>
					</span>
					<ul>
					{pc:content  action="lists" catid="17" order="id DESC" num="4"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class classroom end -->
				
				<div class="study">
					<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=271" target="_blank">延伸学习</a></span>
					<ul>
					{pc:content  action="lists" catid="271" order="id DESC" num="4"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],30,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class study end -->
				
				<div class="online">
					<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=16" target="_blank">线上复习</a></span>
					<ul>
					{pc:content action="category" catid="16" num="2" siteid="$siteid" order="listorder ASC"}
					{loop $data $k $r}
						<li class="line_{if $n==1}s{else}d{/if}">
							<span class="namebox">{$r[catname]}</span>
							{php $subcats=subcat($k);}
							<span class="block">
								{loop $subcats $rs}
								<a href="{$rs[url]}" title="{$rs[catname]}">{$rs[catname]}</a>
								{/loop}
							</span>
						</li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class online end -->
				
			</div><!-- css class boutique_con end -->
		</div><!-- css class boutique end -->
		
		<div class="collection">
			<div class="leftside">
				<div class="school_qa">
					<div class="netschool">
						<span class="ourterbox"><span class="title"><a class="titlename" href="index.php?m=content&c=index&a=lists&catid=12" target="_blank">网校答疑</a></span>
						<span class="img"><img src="{IMG_PATH}2zwx/test_qa.gif" /></span>
						<span class="ulist">
							<ul>
							{pc:content  action="lists" catid="12" order="id DESC" num="3"}
							{loop $data $r}
								<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],30,'')}</a></li>
							{/loop}
							{/pc}
							</ul>
							<p><b>有问题？</b><button>进入客服咨询</button></p>
						</span>
</span>
					</div><!-- css class netschool end -->
					
					<div class="acti">
						<span class="title">
							<span class="sp_r"></span>

							<span class="sp_l"></span>
							<a class="titlename" href="index.php?m=content&c=index&a=lists&catid=21" target="_blank">活动安排</a>
						</span>
						
						<span class="ourterbox">
							<ul>
								{pc:content  action="lists" catid="21" order="id DESC" num="5"}
								{loop $data $r}
									<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
								{/loop}
								{/pc}
							</ul>
						</span>
					</div><!-- css class acti end -->
				</div><!-- css class school_qa end -->
				<span class="ad_coll">
					<script language="javascript" src="{APP_PATH}caches/poster_js/14.js"></script>
				</span>
			</div><!-- css class leftside end -->
			
			<div class="rightside">
				<span class="title">
					<span class="sp_r"></span>					<span class="sp_l"></span>
					<a class="titlename" href="index.php?m=content&c=index&a=lists&catid=49" target="_blank">明星学员</a>
				</span>
				
				<span class="ourterbox">
				{pc:content  action="lists" catid="49" thumb="1" order="id DESC" num="5"}
				{php $dsum=count($data);}
				{loop $data $r}
				{if $n==1}
					<span class="first">
						<img src="{thumb($r[thumb],87,71)}" alt="{$r[star_name]}"width="87" height="71" />
						<span>
							<p>{$r[star_name]}</p>
							<p>{$r[star_class]}</p>
							<p>单科{$r[star_desc]}</p>
						</span>
					</span><!-- css class first end -->
				{else}
				{if $n==2}
					<ul>
				{/if}
						<li>
							<a class="name" href="{$r[url]}" target="_blank" title="{$r[star_name]}">{$r[star_name]}</a>
							<a class="year" href="{$r[url]}" target="_blank" title="{$r[star_class]}">[{$r[star_class]}]</a>
							<a class="class" href="{$r[url]}" target="_blank" title="{$r[star_desc]}">{$r[star_desc]}</a>
						</li>
				{if $n==$dsum}
					</ul>
				{/if}
				{/if}
				{/loop}
				{/pc}
				</span>
			</div><!-- css class rightside end -->
			
		</div><!-- css class collection end -->
		
		<div class="student">
			<h3>
				<span class="sp_r"></span>
				<span class="title_link">
				{pc:content action="category" catid="13" num="8" siteid="$siteid" order="listorder ASC"}
				{loop $data $r}
					<a class="tabo{if $n==1}n{else}ff{/if}" href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				{/loop}
				{/pc}
				</span>
				<span class="sp_l"></span><span class="title_name">学生园地</span>
			</h3>
			
			<div id="stu_outer">
				<div class="focus">
					<span class="title"><a class="titlename" href="index.php?m=content&c=index&a=lists&catid=103" target="_blank">焦点信息</a></span>
					<span class="image"><img src="{IMG_PATH}2zwx/test_b.jpg" /></span>
					<ul>
					{pc:content  action="lists" catid="103" order="id DESC" num="5"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class focus end -->
				
				<div class="champion">
					<span class="title">
						<span class="sp_r"></span><span class="sp_l"></span>
						<a class="join" href="index.php?m=member&c=index&a=register&siteid={$siteid}">
							<img src="{IMG_PATH}2zwx/application_plate_g.gif" title="我要报名" />
						</a>
						<a class="titlename" href="index.php?m=content&c=index&a=lists&catid=46" target="_blank">高考状元</a>
					</span>
					<ul>
					{pc:content  action="lists" catid="46" thumb="1" order="id DESC" num="4"}
					{loop $data $r}
						<li>
							<img src="{thumb($r[thumb],87,71)}" alt="{$r[champion_name]}" />
                                                                                                              
							<span>								                                                                                                               <p class='name'>{$r[champion_name]}</p>
                                                                                                                               <p >总分{$r[champion_score]}分</p>
								<p>{$r[champion_school]}</p>
                                                                                                                       
							</span>
						</li>
					{/loop}
					{/pc}
					</ul>
<div class="clearfloat"></div>
				</div><!-- css class champion end -->

				
			</div><!-- css id stu_outer end -->
			
		</div><!-- css class student end -->
		
		<div class="teacher">
			<h3>
				<span class="sp_r"></span>
				<span class="title_link">
				{pc:content action="category" catid="9" num="8" siteid="$siteid" order="listorder ASC"}
				{loop $data $r}
					<a class="tabo{if $n==1}n{else}ff{/if}" href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				{/loop}
				{/pc}
				</span>
				<span class="sp_l"></span>
				<span class="title_name">教师园地</span>
			</h3>
			
			<div id="tea_outer">
				<div class="collection">
					<span class="title">
						<a class="join" href="index.php?m=member&c=index&a=register&siteid={$siteid}&modelid=11" target="_blank">
							<img src="{IMG_PATH}2zwx/application_plate_g.gif" title="我要报名" />
						</a>
						<a href="index.php?m=content&c=index&a=lists&catid=32" target="_blank">师资力量</a>
					</span><!-- css class title end -->
					
					<ul class="scroll">
					{pc:content  action="lists" catid="32" thumb="1" order="id DESC" num="3"}
					{loop $data $r}
						<li>
							<a href="{$r[url]}" target="_blank" title="{$r[teacher_name]}">
								<img src="{thumb($r[thumb],47,56)}" align="{$r[teacher_name]}" />
							</a>
							<span>
								<p><a href="{$r[url]}" target="_blank" title="{$r[teacher_name]}">教师姓名:{$r[teacher_name]}</a></p>
								<p><a href="{$r[url]}" target="_blank" title="{$r[teacher_class]}">执教年级:{$r[teacher_class]}</a></p>
								<p><a href="{$r[url]}" target="_blank" title="{$r[teacher_subject]}">执教学科:{str_cut($r[teacher_subject],30)}</a></p>
							</span>
						</li>
					{/loop}
					{/pc}
					</ul><!-- css class scroll end -->
					
					<ul>
						<li>
							<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=33" target="_blank">教师课件</a></span>
							<ul>
							{pc:content  action="lists" catid="33" order="id DESC" num="4"}
							{loop $data $r}
								<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
							{/loop}
							{/pc}
							</ul>
						</li>
						<li class="last">
							<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=34" target="_blank">模拟试卷</a></span>
							<ul>
							{pc:content  action="lists" catid="34" order="id DESC" num="4"}
							{loop $data $r}
								<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],45,'')}</a></li>
							{/loop}
							{/pc}
							</ul>
						</li>
					</ul>
					
				</div><!-- css class collection end -->
				
				<div class="tab">
					<span>
					<a id="tt_36" class="tabon" onmouseover="toggle_display(36, '37,35')" href="index.php?m=content&c=index&a=lists&catid=36" target="_blank">二中密宗</a>
					<a id="tt_37" class="taboff" onmouseover="toggle_display(37, '36,35')" href="index.php?m=content&c=index&a=lists&catid=37" target="_blank">教研中心</a>
					<a id="tt_35" class="taboff" onmouseover="toggle_display(35, '36,37')" href="index.php?m=content&c=index&a=lists&catid=35" target="_blank">模拟精讲</a>
					</span>
					<ul id="ct_36">
					{pc:content  action="lists" catid="36" order="id DESC" num="8"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
					<ul id="ct_37" style="display:none;">
					{pc:content  action="lists" catid="37" order="id DESC" num="8"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
					<ul id="ct_35" style="display:none;">
					{pc:content  action="lists" catid="35" order="id DESC" num="8"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class tab end -->
				<div class="clearfloat"></div>
				
			</div><!-- css id tea_outer end -->
			
		</div><!-- css class teacher end -->
		
		<div class="parents">
			<h3>
				<span class="sp_r"></span>
				<span class="title_link">
				{pc:content action="category" catid="11" num="8" siteid="$siteid" order="listorder ASC"}
				{loop $data $r}
					<a class="tabo{if $n==1}n{else}ff{/if}" href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
				{/loop}
				{/pc}
				</span>
				<span class="sp_l"></span>
				<span class="title_name">家长学校</span>
			</h3>
			
			<div id="par_outer">
				<ul class="coll">
					<li class="upstu">
						<span class="title">
							<span class="class">
							{pc:content action="category" catid="43" num="2" siteid="$siteid" order="listorder ASC"}
							{loop $data $r}
								<a id="title_{$r[catid]}" onmouseover="toggle_show({$r[catid]}, 'title_', 'content_', 'selected', '')" {if $n==1}class="selected"{/if} href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
							{/loop}
							{/pc}
							</span>
							<a href="index.php?m=content&c=index&a=lists&catid=43" target="_blank" class="menu">升学导航</a>
						</span>
						
						{pc:content action="category" catid="43" num="2" siteid="$siteid" order="listorder ASC"}
						{php $cdata=$data;$data=array();}
						{php $s=1;}
						{loop $cdata $v}
						<ul id="content_{$v[catid]}" {if $s>1}style="display:none;"{/if}>
						{pc:content  action="lists" catid="$v[catid]" order="id DESC" num="3"}
						{loop $data $r}
							<li>
								<a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],40,'')}</a>
							</li>
						{/loop}
						{/pc}
						</ul>
						{php $s++;}
						{/loop}
						{/pc}
					</li>
					<li class="zhid">
						<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=42" target="_blank">学法指导</a></span>
						<ul>
						{pc:content  action="lists" catid="42" order="id DESC" num="4"}
						{loop $data $r}
							<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],40,'')}</a></li>
						{/loop}
						{/pc}
						</ul>
					</li>
				</ul>
				
				<div class="health">
					<span class="title">
						<a class="join" href="index.php?m=member&c=index&a=register&siteid={$siteid}&modelid=12" target="_blank">
							<img src="{IMG_PATH}2zwx/application_plate_g.gif" title="我要报名" />
						</a>
						<a href="index.php?m=content&c=index&a=lists&catid=45" target="_blank">健康宝典</a>
					</span>
					<span class="box">
						<span class="child">
						{pc:content  action="lists" catid="45" thumb="1" order="id DESC" num="1"}
						{loop $data $r}
							<a href="{$r[url]}" target="_blank" title="{$r[title]}">
							<img src="{thumb($r[thumb],76,84)}" />
							</a>
							<span class="conbox">
								<p class="title"><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],26,'')}</a></p>
								<p class="con">{str_cut($r[description],120)}</p>
							</span>
						{/loop}
						{/pc}
						</span>
						<ul>
						{pc:content  action="lists" catid="45" order="id DESC" num="3"}
						{loop $data $r}
							<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
						{/loop}
						{/pc}
						</ul>
					</span>
				</div><!-- css class health end -->
				
				<div class="par_lession">
					<span class="title"><a href="index.php?m=content&c=index&a=lists&catid=44" target="_blank">父母课堂</a></span>
					<ul>
					{pc:content  action="lists" catid="44" order="id DESC" num="8"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
					{/loop}
					{/pc}
					</ul>
				</div><!-- css class par_lession end -->
				<div class="clearfloat"></div>
				
			</div><!-- css id par_outer end -->
			
		</div><!-- css class parents end -->
		
	</div><!-- css id collection_l end -->
	
	<div id="collection_r">
		<!--加入我们模块-->
		<div class="joinus">
			<h3><span class="sp_r"></span><span class="more"><a href="index.php?m=member&c=index&a=register&siteid={$siteid}"  target="_blank">我要报名</a></span><span class="sp_l"></span><a class="title" href="index.php?m=content&c=index&a=lists&catid=52" target="_blank">加入我们</a></h3>
			<div class="infobox">
				<span class="title">				<a href="index.php?m=content&c=index&a=lists&catid=53" target="_blank">入学指南</a></span>
				<ul class="infolist">
				{pc:content  action="lists" catid="53" order="id DESC" num="7"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
				{/loop}
				{/pc}
				</ul>
				<span class="dashline"></span>
				<p><b>地址：</b>内蒙古呼和浩特市呼伦南路1号</p>
				<p><b>电话：</b>0471-8911919</p>
				<p><b>传真：</b>0471-8911919</p>
			</div>
		</div><!-- css class joinus end -->
		
		<!--在线答疑模块-->
		<div class="online_qa">
			<h3>
				<span class="sp_r"></span>
				<span class="more"><a href="index.php?m=content&c=index&a=lists&catid=29" target="_blank">我要提问</a></span>
				<span class="sp_l"></span><a class="title" href="index.php?m=content&c=index&a=lists&catid=29" target="_blank">在线答疑</a>
			</h3>
			<div class="online_box">
				<span class="aboutqa">
					<img src="{IMG_PATH}2zwx/onlineqa.gif">“你来问我来答”通过多媒体的教学优势，实现学生即时提交疑难问题，并有名师进行在线指导！
				{pc:content  action="lists" catid="29" thumb="1" order="id DESC" num="1"}
				{loop $data $r}
					<img src="{thumb($r[thumb],82,71)}" />

					{str_cut($r[description],120)}
				{/loop}
				{/pc}
				</span>
				<ul class="qalist">
				{pc:content  action="lists" catid="29" order="id DESC" num="7"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],50,'')}</a></li>
				{/loop}
				{/pc}
				</ul><!-- css class qalist end -->
			</div><!-- css class online_box end -->
		</div><!-- css class online_qa end -->
		
		<!--媒体报道模块-->
		<div class="media">
			<h3><span class="sp_r"></span><span class="sp_l"></span><a class="title" href="index.php?m=content&c=index&a=lists&catid=124" target="_blank">媒体报道</a></h3>
			<div class="mediabox">
				<span class="mediaphoto">
				{pc:content  action="lists" catid="124" thumb="1" order="id DESC" num="1"}
				{loop $data $r}
					<img src="{thumb($r[thumb],102,77)}" />
					<p><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],20,'')}</a></p>
				{/loop}
				{/pc}
				</span>
				<ul class="medialist">
				{pc:content  action="lists" catid="124" order="id DESC" num="4"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],20,'')}</a></li>
				{/loop}
				{/pc}
				</ul>
			</div><!-- css class mediabox end -->
		</div><!-- css class media end -->
		
		<!--资源下载模块-->
		<div class="resources">
			<div class="innerborder">
				<h3><a class="title" href="index.php?m=content&c=index&a=lists&catid=14" target="_blank">资源下载</a></h3>
				<form action="index.php?m=content&c=search&catid=14" method="get" name="myform" target="_blank">
				{form::select_category('category_content',14,'name="info[catid]"',L('please_select_category'),2,0,1)}
				<select name="orderby" id="orderby"  size="1">
				<option value="a.id DESC" >时间降序</option>
				<option value="a.id ASC" >时间升序</option>
				</select><br />
				<!--标&nbsp;&nbsp;&nbsp;题：<input type="text" value="" id="titles" name="info[title]" style="margin:3px 0;" /><br />-->
				关键词：<input type="text" class="keyword" value="" id="keywords" name="info[keywords]" style="margin:3px 0;" />				<input type="submit" class="submit" value="搜索试题">
				<input type="hidden" name="m" value="content"> 
				<input type="hidden" name="c" value="search"> 
				<input type="hidden" name="a" value="init"> 
				<input type="hidden" name="catid" value="14"> 
				<input type="hidden" name="dosubmit" value="1">
				</form>
				
				<span class="title"><a style="color:#01427a;" href="index.php?m=content&c=index&a=lists&catid=34" target="_blank">最新试题</a></span>
				<ul>
				{pc:content  action="lists" catid="34" order="id DESC" num="4"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],46,'')}</a></li>
				{/loop}
				{/pc}
				</ul>
				
				<span class="title"><a style="color:#01427a;" href="index.php?m=content&c=index&a=lists&catid=23" target="_blank">网校视频</a></span>
				<div class="videobox">
				{pc:content  action="lists" catid="23" thumb="1" order="id DESC" num="4"}
				{loop $data $r}
					<span>
						<a href="{$r[url]}" target="_blank" title="{$r[title]}">
							<img src="{thumb($r[thumb],105,62)}" />
						</a>
						<a class="title" href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title],24,'')}</a>
					</span>
				{/loop}
				{/pc}
				</div>
				
			</div><!-- css class innerborder end -->
		</div><!-- css class resources end -->
		
	</div><!-- css id collection_r end -->
	
</div><!-- css id collection_b end -->

<script language="JavaScript">
<!--
	$(function(){
		$('#username').focus();
	})
	function toggle_display(showid, hideids, prefix)
	{
		if (prefix=='undefined' || prefix==null)
		{
			prefix = '';
		}
		
		//隐藏元素
		var hide_arr = hideids.split(',');
		var hide_len = hide_arr.length;
		for(i=0;i<hide_len;i++)
		{
			$('#'+prefix+'tt_'+hide_arr[i]).attr('class', 'taboff');
			$('#'+prefix+'ct_'+hide_arr[i]).css('display', 'none');
		}		
		//显示元素
		$('#'+prefix+'tt_'+showid).attr('class', 'tabon');
		$('#'+prefix+'ct_'+showid).css('display', 'block');
	}
	function toggle_show(showid, title_prefix, content_prefix, showcls, hidecls)
	{
		//取得同级元素
		var siblings =$('#' + title_prefix + showid).siblings();
		var siblings_len = siblings.length;
		for(i=0;i<siblings_len;i++)
		{
			var hide_id = siblings.eq(i).attr('id');
			var id_index = hide_id.lastIndexOf('_') + 1;
			var id_num = hide_id.substring(id_index);
			$('#' + title_prefix + id_num).attr('class', hidecls);
			$('#' + content_prefix + id_num).css('display', 'none');
		}
		//显示元素
		$('#' + title_prefix + showid).attr('class', showcls);
		$('#' + content_prefix + showid).css('display', 'block');
	}
	
	//将前5个对象移到后面
	function moveNextFive()
	{
		var sliceContent = $('#adminRecommendGoods').children("li:visible").slice(0,1);
		//sliceContent.animate({width:"0px",margin:"0px"}, 1500);
		$('#adminRecommendGoods').append(sliceContent);
		$('#netteacher_desc').html($('#adminRecommendGoods').children("li:visible").first().children("span:hidden").html());
	}
	//将后面五个移到最前面
	function movePrevFive()
	{
		var sliceContent = $('#adminRecommendGoods').children("li:visible").slice(-1);
		//sliceContent.animate({width:"0px",margin:"0px"}, 1500);
		$('#adminRecommendGoods').prepend(sliceContent);
		$('#netteacher_desc').html($('#adminRecommendGoods').children("li:visible").first().children("span:hidden").html());
	}
	//绑定下载试听代码
	function toggle_down_dl(obj)
	{
		var clicked_id = $(obj).attr('id');
		var cliked_class = $(obj).attr('class');
		if (clicked_id == 'down_vip')
		{
			if (cliked_class == 'hide')
			{
				$('#down_common').attr('class', 'hide');
				$(obj).attr('class', 'show');
			}
			else
			{
				$(obj).attr('class', 'hide');
				$('#down_common').attr('class', 'show');
			}
		}
		else
		{
			if (cliked_class == 'hide')
			{
				$('#down_vip').attr('class', 'hide');
				$(obj).attr('class', 'show');
			}
			else
			{
				$(obj).attr('class', 'hide');
				$('#down_vip').attr('class', 'show');
			}
		}
	}
	var objTime = null;
	
	$(document).ready(function(){		
		//事件绑定
		$('#movePrevFive').click(function(){movePrevFive();});
		$('#moveNextFive').click(function(){moveNextFive();});
		//绑定鼠标移到DIV的效果
		$('#adminRecommendGoods').children("li:visible").mouseover(function(){$('#netteacher_desc').html($(this).children("span:hidden").html());});
		//绑定鼠标浮上去的效果
		$('#movePrevFive').hover(function(){clearInterval(objTime);objTime = null;},function(){objTime = setInterval("moveNextFive()",3000);});
		$('#moveNextFive').hover(function(){clearInterval(objTime);objTime = null;},function(){objTime = setInterval("moveNextFive()",3000);});
		$('#adminRecommendGoods').children("li:visible").hover(function(){clearInterval(objTime);objTime = null;},function(){objTime = setInterval("moveNextFive()",3000);});
		//会员下载试听部分效果切换
		$('#down_vip').click(function(){toggle_down_dl(this);});
		$('#down_common').click(function(){toggle_down_dl(this);});
		//网校名师滚动效果
		//$('#scrollMarquee').kxbdMarquee({direction:'right'});
	}
	);	
	
	//设置自由移动方向
	function autoSlidShow(direction,timeout)
	{
		if (direction=='undefined' || direction==null){direction='left';}
		direction = direction.toLowerCase();
		if (direction!='left' && direction!='right') {direction='left';}
		if (timeout=='undefined' || timeout==null){timeout=3000;}
		timeout = parseInt(timeout);
		if (timeout<1) {timeout=3000;}
		if (direction=='left')
		{
			//取得第一个元素并按照设定的动画时间开始隐藏元素
			var liVisibleArr = $('#adminRecommendGoods').children("li:visible");
			var sliceContent = liVisibleArr.slice(0, 1);
			//显示说明文字
			$('#netteacher_desc').html(liVisibleArr.first().children("span:hidden").html());
			//动画隐藏
			sliceContent.animate({width:"0px",margin:"0px"}, timeout, function(){
				//第一个元素追加到最后
				$('#adminRecommendGoods').append(sliceContent).delay(10).children("li:visible").last().animate({width:"74px",margin:"0px 3px"}, 10, function(){liVisibleArr.last().attr('style', '');});
				//动画显示最后一个元素并取消所有style
				//liVisibleArr.last().attr('style', '');
				//clearInterval(objTime);
				//liVisibleArr.last().animate({width:"74px",margin:"0px 3px"}, timeout, 'swing', function(){
				//	liVisibleArr.last().attr('style', '');
				//});
			});
		}
		else
		{
		}
	}
	//启动定时器
	$(window).load(function(){objTime = setInterval("moveNextFive()",3000);});	
-->
</script>
<script type="text/javascript">
$(function(){

var speed=60; //滚动速度值，值越大速度越慢 
var demo=document.getElementById("demo"); 
var demo2=document.getElementById("demo2"); 
var demo1=document.getElementById("demo1"); 
for(var i=0;i<1000;i++){ 
	if(demo1.offsetHeight<500){
	  demo1.innerHTML+=demo1.innerHTML; 
	}else{
	  break; 
	}
}
demo2.innerHTML=demo1.innerHTML; //克隆demo2为demo1 
function Marquee(){
if(demo2.offsetTop-demo.scrollTop<=0) //当滚动至demo1与demo2交界时 
demo.scrollTop-=demo1.offsetHeight; //demo跳到最顶端 
else{ 
demo.scrollTop++; 
} 
} 
var MyMar=setInterval(Marquee,speed); //设置定时器 
demo.onmouseover=function(){
	clearInterval(MyMar);
} //鼠标经过时清除定时器达到滚动停止的目的 
demo.onmouseout=function(){
	MyMar=setInterval(Marquee,speed);
} //鼠标移开时重设定时器 

});
</script>
{template "content","footer"}